import React from 'react';
import { StyleSheet, View } from 'react-native';

export default class LiveRoom extends React.Component {

    render() {
        return (
            <View style={styles.container}>
                {/*<QiniuPlayer*/}
                {/*    source={{*/}
                {/*        uri: 'https://vdse.bdstatic.com/1132d5e26923f27d4c274796013a33ce.mp4?authorization=bce-auth-v1/fb297a5cc0fb434c971b8fa103e8dd7b/2017-05-11T09:02:31Z/-1//843847bb42dbcc5102b9e7ef227c0c21c79bf21732a64d435040cf4ee88676d1xx',*/}
                {/*        timeout: 10 * 1000, //live streaming timeout (ms) Android only*/}
                {/*        live: false, //live streaming ? Android only*/}
                {/*        hardCodec: false, //hard codec [recommended false]  Android only*/}
                {/*    }}*/}
                {/*    started={true} //iOS only*/}
                {/*    muted={false} //iOS only*/}
                {/*    style={{*/}
                {/*        height: 350,*/}
                {/*    }}*/}
                {/*    onLoading={() => {*/}
                {/*    }} //loading from remote or local*/}
                {/*    onPaused={() => {*/}
                {/*    }} //pause event*/}
                {/*    onShutdown={() => {*/}
                {/*    }} //stopped event*/}
                {/*    onError={() => {*/}
                {/*    }} //error event*/}
                {/*    onPlaying={() => {*/}
                {/*    }} //play event*/}
                {/*/>*/}
            </View>
        );
    }
}

const styles = StyleSheet.create({
    container: {
        flex: 1,
        flexDirection: 'column',
    },
});
